package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.ADictArea;
import com.ruoyi.system.service.IADictAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 字典房屋面积Controller
 *
 * @author gf
 * @date 2024-11-23
 */
@RestController
@RequestMapping("/xcx/aDictArea")
public class XcxADictArea  extends BaseController {

    @Autowired
    private IADictAreaService aDictAreaService;

    /**
     * 查询字典房屋面积列表
     */
    @GetMapping("/list")
    public AjaxResult list() {
        return success(aDictAreaService.selectADictAreaXcxList());
    }
}
